require 'tk'
require 'tkextlib/tkimg'

root = TkRoot.new {title "hello img button"}
TkButton.new{
	text "image"
	#bitmap "@./main.xbm"
	bitmap "question"
	#image TkPhotoImage.new(file:"msger.png")
	compound "top"
	grid
	command {
		exit
	}
}

Tk.mainloop